import 'package:flutter_ncsjqz_getx/generated/json/base/json_convert_content.dart';
import 'package:flutter_ncsjqz_getx/model/my_follow_fans_count_entity.dart';

MyFollowFansCountEntity $MyFollowFansCountEntityFromJson(Map<String, dynamic> json) {
	final MyFollowFansCountEntity myFollowFansCountEntity = MyFollowFansCountEntity();
	final String? msg = jsonConvert.convert<String>(json['msg']);
	if (msg != null) {
		myFollowFansCountEntity.msg = msg;
	}
	final int? code = jsonConvert.convert<int>(json['code']);
	if (code != null) {
		myFollowFansCountEntity.code = code;
	}
	final MyFollowFansCountData? data = jsonConvert.convert<MyFollowFansCountData>(json['data']);
	if (data != null) {
		myFollowFansCountEntity.data = data;
	}
	return myFollowFansCountEntity;
}

Map<String, dynamic> $MyFollowFansCountEntityToJson(MyFollowFansCountEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['msg'] = entity.msg;
	data['code'] = entity.code;
	data['data'] = entity.data?.toJson();
	return data;
}

MyFollowFansCountData $MyFollowFansCountDataFromJson(Map<String, dynamic> json) {
	final MyFollowFansCountData myFollowFansCountData = MyFollowFansCountData();
	final int? followCount = jsonConvert.convert<int>(json['followCount']);
	if (followCount != null) {
		myFollowFansCountData.followCount = followCount;
	}
	final int? fansCount = jsonConvert.convert<int>(json['fansCount']);
	if (fansCount != null) {
		myFollowFansCountData.fansCount = fansCount;
	}
	return myFollowFansCountData;
}

Map<String, dynamic> $MyFollowFansCountDataToJson(MyFollowFansCountData entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['followCount'] = entity.followCount;
	data['fansCount'] = entity.fansCount;
	return data;
}